test_protocol_sources = [
  '../../main.cpp',
  'test_protocol.cpp',
  '../../../libraries/protocol/protocol.cpp',
]

incs = [
  include_directories('.'),
  include_directories('../..'),
  include_directories('../../../libraries'),
  include_directories('../../../include'),
  include_directories('../../../gen'),
]

test_protocol = executable(
  'test_protocol',
  test_protocol_sources,
  include_directories: incs,
  dependencies: [
    gtest_dep,
    libmcpp_deps,
  ],
  install: false,
)

test('test_protocol', test_protocol, timeout: 180, suite: 'protocol')

